export const PAGE_CODE = 'dcs-sales-saleConfirmationCbu';
import {PAGE} from '../constants';
import {packingWay} from '../Enum';
export const formatExportPdfUrl = (id, code) => `/sales/print/report.html?id=${id}&name=SaleConfirmationForCBU&Prefix=${code}title=销售确认书管理`;
//设置管理员权限
export const PERMISSION = {
    add: 'add',
    update: 'update',
    submit: 'submit',
    approve: 'approve',
    abandon: 'abandon',
    export: 'export',
    print: 'print',
    printPdf: 'printPdf'
};
//重置常量
export const DEFAULT_QUERY_OPTION = {
    code: '',
    dealerId: '',
    brandId: '',
    salesOrderCode: '',
    saleProformaInvoiceCode: '',
    marketDepartmentId: '',
    country: '',
    tradeMethodId: '',
    transportType: undefined,
    status: [],
    batchNumber: '',
    productCode: '',
    createTime: [],
    pageIndex: PAGE.index,
    pageSize: PAGE.size,
    sortField: 'createTime',
    isDesc: true,
};
export const packing = packingWay.pick([
    packingWay.木制,
    packingWay.裸装,
]);
